﻿using System;
using FreeSql.DataAnnotations;

namespace Colorful.Furniture.StatisticsManagement
{
    /// <summary>
    /// 销售金额等统计表
    /// </summary>
    [Table(Name = "erp_statistics_inventory_category_amount")]
    public class StatisticsInventoryCategoryAmount
    {
        /// <summary>
        /// 编码
        /// </summary>
        [Column(Name = "id", IsPrimary = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        [Column(Name = "name", StringLength = 50)]
        public string Name { get; set; }

        /// <summary>
        /// 所属月份
        /// </summary>
        [Column(Name = "belong_month", StringLength = -89)]
        public DateTime BelongMonth { get; set; }

        /// <summary>
        ///  添加时间
        /// </summary>
        [Column(Name = "add_time", CanUpdate = false, Position = -89)]
        public DateTime AddTime { get; set; }

        /// <summary>
        ///  备注
        /// </summary>
        [Column(Name = "remark", StringLength = 600)]
        public string Remark { get; set; }

        /// <summary>
        /// 统计类型（1=日统计；2=月统计；3=年统计；）
        /// </summary>
        [Column(Name = "type")]
        public int? Type { get; set; }

        /// <summary>
        /// 采购金额
        /// </summary>
        [Column(Name = "purchase_price")]
        public int? PurchasePrice { get; set; }

        /// <summary>
        /// 生产金额
        /// </summary>
        [Column(Name = "production_price")]
        public int? ProductionPrice { get; set; }



    }
}
